feat: remove InputStream overloads and add new optional fields#72
Open
fern-api[bot] wants to merge 1 commit intomainfrom
Open
feat: remove InputStream overloads and add new optional fields#72fern-api[bot] wants to merge 1 commit intomainfrom
fern-api[bot] wants to merge 1 commit intomainfrom
Conversation
This SDK regeneration removes several public method overloads for file uploads that used InputStream parameters while adding new optional fields to lab test requests for improved customization. Key changes: - Remove parserCreateJob InputStream overloads from RawLabReportClient - Add optional labAccountId and labSlug fields to CreateLabTestRequest - Add optional labSlug field to LabTestsGetMarkersRequest - Change lab parameter type from String to AppointmentPscLabs enum in LabTestsGetPscAppointmentAvailabilityRequest - Add optional appointmentNotes field to RequestAppointmentRequest - Update parameter naming in lambda expressions for consistency 🌿 Generated with Fern
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Version Bump: Multiple public methods were removed (parserCreateJob InputStream overloads) and a parameter type was changed from String to enum (lab parameter).
logging()method onClientOptions.Builder. Configure request/response logging to monitor HTTP operations and streaming behavior. Advanced SSE stream processing is now available withStream.fromSseWithEventDiscrimination()methods for handling discriminated unions in Server-Sent Events.parserCreateJobmethod overloads that acceptedInputStreamparameters have been removed fromRawLabReportClient. Use theFileparameter overloads instead. Thelabparameter inLabTestsGetPscAppointmentAvailabilityRequestnow expects anAppointmentPscLabsenum value instead of a String. New optional fields are available:labAccountIdandlabSlugon lab test creation,labSlugon marker queries, andappointmentNoteson appointment requests.GetOrderTransactionResponse.getStatus()method now returnsOrderTransactionStatusenum instead ofString. Update your code to handle the enum type. TheParsingJob.getJobId()method has been removed. New optional fieldsorderTransactionandaccessNotesare available on lab results and patient address objects respectively.ConvertCompendiumBodyandSearchCompendiumBodyrequest classes. The SDK now includes aLabAccountClientwithgetTeamLabAccounts()method for managing lab accounts.additionalProperty(String key, Object value)andadditionalProperties(Map<String, Object> additionalProperties)methods, allowing dynamic field assignment beyond the predefined schema.additionalProperty()andadditionalProperties()are now available on request builders, allowing custom properties to be set on API requests for advanced use cases.additionalProperty()andadditionalProperties()methods available on all vitals request builders, allowing custom key-value pairs to be included in API requests.additionalProperty()andadditionalProperties()methods are now available on all vitals request builders, allowing users to set custom properties on request objects.additionalProperty()andadditionalProperties()are now available on all request and response builders, allowing custom key-value pairs to be set for API extensibility. TheAppointmentBookingRequestnow supports an optionalappointmentNotesfield.CanonicalCandidatetype available for biomarker canonical matching with LOINC codes, provider IDs, and confidence scoring. All type builders now support fluentadditionalProperty()andadditionalProperties()methods for enhanced extensibility.appointmentNotesfield available onClientFacingAppointmentto provide additional context for appointments. Builder convenience methodsadditionalProperty()andadditionalProperties()have been added across multiple classes for improved API usability.additionalProperty(key, value)to add single properties oradditionalProperties(map)to add multiple properties when building objects.additionalProperty(key, value)oradditionalProperties(map)when constructing ClientFacing model objects to include arbitrary key-value pairs.additionalProperty(key, value)to set individual properties oradditionalProperties(map)to set multiple properties at once.additionalProperty()andadditionalProperties()builder methods available on client-facing model classes for setting arbitrary key-value data.additionalProperty()andadditionalProperties()are now available on client-facing type builders, allowing custom key-value pairs to be set on response objects.additionalProperty()andadditionalProperties()methods are now available on all builder classes, allowing you to set custom fields that extend beyond the standard model schema.additionalProperty()andadditionalProperties()methods, enabling more flexible object construction.additionalProperty()andadditionalProperties()methods, improving forward compatibility with API changes. A newGetTeamLabAccountsResponseclass is also available for lab account management.additionalProperty()andadditionalProperties()methods available on all grouped data type builders, enabling custom metadata to be set on response objects.additionalProperty()andadditionalProperties()methods enable handling of custom fields in API responses.additionalProperty()andadditionalProperties()builder methods. New enum values have been added for expanded lab testing capabilities.additionalProperty()andadditionalProperties()methods, enabling custom key-value pairs to be set on response objects for extensibility.PerLabCandidateclass for working with laboratory test candidates, providing access to detailed metadata such as LOINC codes, CPT codes, and confidence scores. Additionally, all data model builders now support fluentadditionalProperty()andadditionalProperties()methods for enhanced extensibility.